package com.mall.manager.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.mall.manager.service.Phpdatayizhi;
/**
 * 同步php数据
 * @ClassName: PhpdatayizhiCon
 * @Description: 
 * @author:wangwenyue wangwenyue@ide365.com
 * @date 2016年8月1日 下午4:22:55
 */
@Controller
@RequestMapping("/manager")
public class PhpdatayizhiCon {
	
	
	
	
	@Resource
	Phpdatayizhi phpdatayizhi;
	
	
	
	@RequestMapping("/initPhpData")
	@ResponseBody
	public String initPhpData (){
		phpdatayizhi.addSchool();
		phpdatayizhi.addClass();
		phpdatayizhi.addBaby();
		phpdatayizhi.addbabyReviews();
		return ""; 
	}
}
